package 作业.Var1029.Test5;

import 作业.Var1029.Test1.Bird;

public class Test {
    public static void main(String[] args) {
        aaa a=new aaa();
        a.setSwimming(new Submarine());
        a.show();
        a.setSwimming(new Fish());
        a.yu();
    }
}
